package com.guli.common.utils;

public enum CodeEnume {
    UNKOW_EXCEPTION(1000,"系统未知异常"),
    VALID_EXCEPTION(1001,"系统格式校验失败"),
    PRODUCT_UP_EXCEPTION(1002,"商品上架失败");
    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    CodeEnume(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private int code;
    private String msg;

}
